package com.gzhryc.net_marketing.api.protocol.account;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

/**
 * 云支付结算请求
 * @version 2022-07-10
 */
public class CloudPayAccountSettlementRequest extends SecurityRequest<CloudPayAccountSettlementRequest.Body> {

    private static final long serialVersionUID = 1L;

    public CloudPayAccountSettlementRequest() {
        super();
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String tradeNo;             //结算的订单号
        private String businessTradeNo;     //业务订单
        private Integer payMoney;           //支付金额
        private Integer settlementType;     //结算方式
        private Long accountId;             //结算账号ID
        private String accountToken;        //结算支付Token
        private String note;                //结算描述

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getBusinessTradeNo() {
            return businessTradeNo;
        }

        public void setBusinessTradeNo(String businessTradeNo) {
            this.businessTradeNo = businessTradeNo;
        }

        public Integer getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(Integer payMoney) {
            this.payMoney = payMoney;
        }

        public Integer getSettlementType() {
            return settlementType;
        }

        public void setSettlementType(Integer settlementType) {
            this.settlementType = settlementType;
        }

        public Long getAccountId() {
            return accountId;
        }

        public void setAccountId(Long accountId) {
            this.accountId = accountId;
        }

        public String getAccountToken() {
            return accountToken;
        }

        public void setAccountToken(String accountToken) {
            this.accountToken = accountToken;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }
    }
}
